﻿using Newtonsoft.Json;

namespace Fadada.FASC.SDK.DotNetCore.Model
{
    public class ActorCorp
    {
        /// <summary>
        /// 企业参与方的openCorpId。对于外部参与方，此参数无效。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "actorCorpId",
            Required = Newtonsoft.Json.Required.AllowNull)]
        public string ActorCorpId { get; set; }

        /// <summary>
        /// 企业参与方的身份信息。
        /// </summary
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "corpIdentInfo",
            Required = Newtonsoft.Json.Required.AllowNull)]
        public CorpIdentInfo CorpIdentInfo { get; set; }

        /// <summary>
        /// 企业参与方的补充信息，用于辅助实名认证。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "corpInfoExtend",
            Required = Newtonsoft.Json.Required.AllowNull)]
        public CorpInfoExtend CorpInfoExtend { get; set; }

        /// <summary>
        /// 企业经办人的openUserId。对于外部参与方，此参数无效。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "operatorId",
            Required = Newtonsoft.Json.Required.AllowNull)]
        public string OperatorId { get; set; }

        /// <summary>
        /// 企业经办人的身份信息。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "operatorIdentInfo",
            Required = Newtonsoft.Json.Required.AllowNull)]
        public UserIdentInfo OperatorIdentInfo { get; set; }

        /// <summary>
        /// 企业经办人的补充信息，用于辅助实名认证。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "operatorInfoExtend",
            Required = Newtonsoft.Json.Required.AllowNull)]
        public UserInfoExtend OperatorInfoExtend { get; set; }
    }
}